New Theoretical and Computational Results For RegularLanguages
نویسنده
چکیده
We show how to turn a regular expression into an O(s) space representation of McNaughton and Yamada's NFA, where s is the number of NFA states. The standard adjacency list representation of McNaughton and Yamada's NFA takes up s+s 2 space in the worst case. The adjacency list representation of the NFA produced by Thompson takes up between 2r and 5r space, where r s in general, and can be arbitrarily larger than s. Given any set T of NFA states, our representation can be used to compute the set N of states one transition away from the states in T in optimal time O(jTj + jNj). McNaughton and Yamada's NFA requires (jTj jNj) in the worst case. Using Thompson's NFA, the equivalent calculation requires (r) time in the worst case. An implementation of our NFA representation connrms that it takes up an order of magnitude less space than McNaughton and Yamada's machine. An implementation to produce a DFA from our NFA representation by subset construction shows linear and quadratic speedups over subset construction starting from both Thompson's and McNaughton and Yamada's NFA's. It also shows that the DFA produced from our NFA is as much as one order of magnitude smaller than DFA's constructed from the two other NFA's.
منابع مشابه
AB Initio Calculations of NMR Spectra for H20114C9N4 As A New Nanosemiconductor Molecule
BCN compounds have been researched theoretically and experimentally widely. In this paper, weintroduce the theoretical prediction of ternary B-C-N compounds. NMR spectroscopy was employedextensively to study these ternary nanostructures. We discuss the utilization of chemical shiftinformation as well as ab initio calculations of nuclear shielding for H20134C9N4 structuredetermination. We calcul...
متن کاملComputational Study on Reduction Potential of [CoP4N2(OH2)2]2+ as a Super-Efficient Catalyst in Electrochemical Hydrogen Evolution
Hydrogen is considered as a unique choice for future world’s resources. The important parameter in the process of hydrogen production is the value of reduction potential for the used catalyst, in direct contact with consumed energy in process. The application of computational methods to design and modify molecular catalysts is highly regarded. This study sought to explore Density Functional...
متن کاملComputational study in Regioselectivie Synthesis of New Spiro-oxindolopyrrolidines
One-pot, four-component procedure for the synthesis of a small library of new chiral spiro- oxindolopyrrolidines with high regio-, diastereo- (>99:1 dr), and enantioselectivity (up to 80% ee) is described. In this process, the regio- and stereochemical 1,3-dipolar cycloaddition of azomethine ylides, which were generated insitu by the reaction of isatin derivatives and sarcosin,with optically ac...
متن کاملTheoretical structural analysis of 3-CHLORO-4-FLUORO-ANILINE.
This study was designed to compute the spectroscopic properties of aniline family, and educates the 3chloro-4-fluoro-aniline, which have unique pharmaceutical important. The structural and spectroscopic properties were investigated using a quantum calculation. The density functional theory approach at B3LYP/6–31G(d) data set is apply. IR and UV-Visible spectrophotometric estimated through GAMES...
متن کاملComputational study in Regioselectivie Synthesis of New Spiro-oxindolopyrrolidines
One-pot, four-component procedure for the synthesis of a small library of new chiral spiro- oxindolopyrrolidines with high regio-, diastereo- (>99:1 dr), and enantioselectivity (up to 80% ee) is described. In this process, the regio- and stereochemical 1,3-dipolar cycloaddition of azomethine ylides, which were generated insitu by the reaction of isatin derivatives and sarcosin,with optically ac...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1991